package com.neusoft.yiyang.bed.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OpenApiConfig {

    @Bean
    public OpenAPI bedServiceOpenAPI() {
        return new OpenAPI()
                .info(new Info()
                        .title("床位管理服务API")
                        .description("包含床位分配、调换、使用记录查询等床位管理相关接口")
                        .version("1.0")
                );
    }
}